package com.lijing.mock.model.dto;

import lombok.*;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.List;

/**
 * url mock 实体
 * @author by lijing
 * @date 2019/12/2 0002 16:42
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
public class UrlMockDTO implements Serializable {
    @Id
    private String id;
    /** mock url */
    private String urlId;
    /** mock 结果数据类型 (MockDataTypeEnum) */
    private String type;
    /** 权重 (1-100)*/
    private Integer weight;
    /** 结果数据集合 */
    private List<String> mockDataList;
}
